<template>
    <el-switch v-model="form[item.name]" :size="item.size" :disabled="item.disabled"
        :active-value="item.options.activeValue" :inactive-value="item.options.inactiveValue" />
</template>
<script setup>
import { ref, defineModel } from 'vue'
const form = defineModel()
const props = defineProps({
    item: { type: Object, default: () => { } }
})
</script>
